package com.youxin.cpcenter.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.cache.annotation.Cacheable;

import com.youxin.cpcenter.model.TbConfigSearchCompany;
@Mapper
public interface TbConfigSearchCompanyMapper {
    int deleteByPrimaryKey(String uid);

    int insert(TbConfigSearchCompany record);

    int insertSelective(TbConfigSearchCompany record);

    TbConfigSearchCompany selectByPrimaryKey(String uid);

    int updateByPrimaryKeySelective(TbConfigSearchCompany record);

    int updateByPrimaryKey(TbConfigSearchCompany record);
    
    @Cacheable(value="tb_config_search_company", key="'tb_config_search_company_all'")
	List<TbConfigSearchCompany> selectAllList();
}